/* -------------------------------------------------------------------------
 *  This file is part of the Cantian project.
 * Copyright (c) 2025 Huawei Technologies Co.,Ltd.
 *
 * Cantian is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *
 *          http://license.coscl.org.cn/MulanPSL2
 *
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 * -------------------------------------------------------------------------
 *
 * ctbackup_snapshot_delete.h
 *
 *
 * IDENTIFICATION
 * src/utils/ctbackup/ctbackup_snapshot_delete.h
 *
 * -------------------------------------------------------------------------
 */

#ifndef CANTIANDB_CTBACKUP_SNAPSHOT_DELETE_H
#define CANTIANDB_CTBACKUP_SNAPSHOT_DELETE_H

#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <sys/wait.h>
#include <sys/prctl.h>
#include <signal.h>
#include <getopt.h>
#include "cm_defs.h"
#include "ctbackup_info.h"
#include "cm_file.h"
#include "bak_common.h"
#include "ctbackup_common.h"
#include "ctbackup_mysql_operator.h"
#include "ctbackup_dbs_common.h"

status_t ctbak_delete_snapshot(ctbak_param_t* ctbak_param);
status_t ctbak_parse_delete_snapshot_args(int32 argc, char** argv, ctbak_param_t* ctbak_param);
ctbak_cmd_t *ctbak_generate_delete_snapshot_cmd(void);

#endif  // CANTIANDB_CTBACKUP_SNAPSHOT_DELETE_H 